﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;

namespace MvcEngine.Core
{
    public abstract class ControlCommand
    {
        public ControlCommand()
        {
            Visible = true;
        }

        public Guid ControlId { get; set; }

        public bool Visible { get; set; }

        public string Name { get; set; }

        public string LocalizedName { get; set; }

        public abstract string GetUrl(RequestContext context);
    }
}
